<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>Title</title>
    <script type="text/javascript" src="jquery-1.11.1.js"></script>
    <script type="text/javascript">

        function funbd(){
            width=$('img').width();
            height=$('img').height();
            new_w=width+5;
            new_h=height*new_w/width;
            $('img').height(new_h);
            $('img').width(new_w);
        }
    </script>
</head>
<body>
<img src="./201.jpg" alt="" style="float: left">
<input type="button" onclick="funbd()" value="big">
<input type="button" onclick="funss()" value="small">
</body>
</html>